package com.jiashihui.web.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author jiashihui
 * @describe: 异常
 * @date 2019/01/17  注：spring 对于 RuntimeException 异常才会进行事务回滚。
 */
@Data
@AllArgsConstructor
public class MyException extends RuntimeException {
    private String code;
    private String msg;
}
